//
//  TYHDiscoverViewModel.m
//  OpenPractice
//
//  Created by tanyuehong on 23/1/19.
//  Copyright © 2019年  lijinghua. All rights reserved.
//

#import "OPHomeViewModel.h"

@implementation OPHomeViewModel

- (void)getHomeIndexData:(completeBlock)comBlock {
    [TYHHTTPFacade doHttpRequest:@"https://www.redskt.com/api/homeindex" parms:nil completeBlock:^(NSError *error, NSDictionary *data) {
        if (!error) {
            self.showData = data;
        }
        if (comBlock) {
            comBlock(error,data);
        }
    }];
}

@end
